package com.dlz.systemshop.pojo;

import lombok.Data;

@Data
public class PageRequest {
    private Integer currentPage;
    private Integer pageSize;

    public Integer getOffset(){
        return (this.currentPage-1)*this.pageSize;
    }
}
